package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.Date;

@FieldTypeAnnotation(tableName = "t_l_ck_seacraft_pirate_riot_equip_upgrade",desc = "海盗之乱升级日志", autoSave = true, uploadCk = true)
public class LogSeacraftPirateRiotEquipUpgrade extends ServerBaseLog{

    @FieldTypeAnnotation(desc = "玩家ID",isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "活动ID",isIndex = true)
    private int activityId;
    @FieldTypeAnnotation(desc = "升级消耗")
    private String cost;
    @FieldTypeAnnotation(desc = "当前等级")
    private int nowLevel;


    public LogSeacraftPirateRiotEquipUpgrade(long userId, int activityId, String cost, int nowLevel) {
        this.userId = userId;
        this.activityId = activityId;
        this.cost = cost;
        this.nowLevel = nowLevel;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public String getCost() {
        return cost;
    }

    public void setCost(String cost) {
        this.cost = cost;
    }

    public int getNowLevel() {
        return nowLevel;
    }

    public void setNowLevel(int nowLevel) {
        this.nowLevel = nowLevel;
    }

}
